<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script>
		window.onload=function(){
			let arr=[1,2,2,3,4,5,6,2,3,15,2,3,4]
			let arr2=[]
			for(let i in arr){
				if(!arr2.includes(arr[i])){
					arr2.push(arr[i])
				}
				
			}
			console.log(arr2)
		}
	</script>
</html>
